package com.woniuxy.his.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 病历表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("his_case")
public class Case implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "case_id", type = IdType.AUTO)
    private Integer caseId;

    /**
     * 症状
     */
    private String symptom;

    /**
     * 诊断结果
     */
    private String diaResult;

    /**
     * 病名ID
     */
    private Integer illnessId;

    /**
     * 病人ID
     */
    private Integer patientId;

    /**
     * 记录写下时间
     */
    private Date caseAddTime;

    /**
     * 记录更新时间
     */
    private Date caseUpdateTime;

    //病人名字
    private String patientName;


}
